       :root {
          /* Core colors */
          --background: #ffffff;
          --foreground: #1a1a1a;
          --primary: #4f46e5;
          --primary-light: #6366f1;
          --primary-dark: #4338ca;
          --secondary: #f9fafb;
          --accent: #f59e0b;
          --accent-light: #fbbf24;
          --muted: #e5e7eb;
          --muted-foreground: #6b7280;
          --border: #e2e8f0;
          
          /* Component colors */
          --card: #ffffff;
          --card-foreground: #1a1a1a;
          --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
          --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
          
          /* Gradients */
          --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
          --gradient-secondary: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
          
          /* Typography */
          --font-sans: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
          --font-serif: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif;
          
          /* Sizes and spacing */
          --header-height: 80px;
          --radius: 0.5rem;
          --radius-lg: 1rem;
          --radius-full: 9999px;
          
          /* Effects */
          --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
          --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
          --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
          --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
          
          /* Transitions */
          --transition-all: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          --transition-transform: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          --transition-opacity: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          --transition-colors: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1), fill 0.3s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          
          /* Z-indices */
          --z-0: 0;
          --z-10: 10;
          --z-20: 20;
          --z-30: 30;
          --z-40: 40;
          --z-50: 50;
          --z-auto: auto;
          
          /* Background RGB values for glassmorphism */
          --background-rgb: 255, 255, 255;
        }

        .dark {
          --background: #0f172a;
          --foreground: #f8fafc;
          --primary: #6366f1;
          --primary-light: #818cf8;
          --primary-dark: #4f46e5;
          --secondary: #1e293b;
          --accent: #f59e0b;
          --accent-light: #fbbf24;
          --muted: #334155;
          --muted-foreground: #94a3b8;
          --border: #1e293b;
          
          --card: #1e293b;
          --card-foreground: #f8fafc;
          --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
          --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
          
          --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
          --gradient-secondary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
          
          --background-rgb: 15, 23, 42;
        }

        /* Reset and base styles */
        *, *::before, *::after {
          margin: 0;
          padding: 0;
          box-sizing: border-box;
        }

        html {
          font-size: 16px;
          scroll-behavior: smooth;
          -webkit-font-smoothing: antialiased;
          -moz-osx-font-smoothing: grayscale;
        }

        body {
          font-family: var(--font-sans);
          background-color: var(--background);
          color: var(--foreground);
          line-height: 1.6;
          transition: var(--transition-colors);
          overflow-x: hidden;
        }

        a {
          color: var(--primary);
          text-decoration: none;
          transition: var(--transition-colors);
        }

        a:hover {
          color: var(--primary-light);
        }

   .blog-post-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .blog-post-card-author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
  }

  .blog-post-card-author-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
  }

        img {
          max-width: 100%;
          height: auto;
          border-radius: var(--radius);
          transition: var(--transition-transform);
        }

        /* Typography */
        h1, h2, h3, h4, h5, h6 {
          font-family: var(--font-serif);
          font-weight: 700;
          line-height: 1.2;
          margin-bottom: 1rem;
          color: var(--foreground);
        }

        h1 {
          font-size: 2.5rem;
          font-weight: 800;
        }

        h2 {
          font-size: 2rem;
          font-weight: 700;
          margin-top: 2.5rem;
        }

        h3 {
          font-size: 1.5rem;
          font-weight: 600;
          margin-top: 2rem;
        }

        p {
          margin-bottom: 1.5rem;
        }

        @media (min-width: 768px) {
          h1 {
            font-size: 3.5rem;
          }
          
          h2 {
            font-size: 2.5rem;
          }
          
          h3 {
            font-size: 1.75rem;
          }
        }

        /* Layout */
        .container {
          width: 100%;
          max-width: 1200px;
          margin: 0 auto;
          padding: 0 1.5rem;
        }

        .article-container {
          display: grid;
          grid-template-columns: 1fr;
          gap: 2rem;
          padding: 2rem 0;
        }

        @media (min-width: 1024px) {
          .article-container {
            grid-template-columns: 3fr 1fr;
            gap: 3rem;
          }
        }

        /* Header */
        .header {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          z-index: var(--z-50);
          background-color: rgba(var(--background-rgb), 0.9);
          backdrop-filter: blur(10px);
          -webkit-backdrop-filter: blur(10px);
          border-bottom: 1px solid var(--border);
          height: var(--header-height);
          transition: var(--transition-all);
        }

        .header-inner {
          display: flex;
          justify-content: space-between;
          align-items: center;
          height: 100%;
        }

        /* Logo */
        .logo {
          display: flex;
          align-items: center;
          font-size: 1.5rem;
          font-weight: 700;
          color: var(--primary);
          gap: 0.5rem;
        }

        /* Navigation */
        .nav-list {
          display: flex;
          gap: 2rem;
          list-style: none;
        }

        .nav-item {
          position: relative;
        }

        .nav-link {
          font-size: 0.9rem;
          font-weight: 500;
          color: var(--foreground);
          text-transform: uppercase;
          letter-spacing: 0.5px;
          padding: 0.5rem 0;
          position: relative;
        }

        .nav-link::after {
          content: '';
          position: absolute;
          bottom: -4px;
          left: 0;
          width: 0;
          height: 2px;
          background-color: var(--primary);
          transition: var(--transition-all);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
          width: 100%;
        }

        .header-actions {
          display: flex;
          align-items: center;
          gap: 1rem;
        }

        /* Buttons */
        .btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          padding: 0.75rem 1.5rem;
          border-radius: var(--radius);
          font-weight: 500;
          cursor: pointer;
          transition: var(--transition-all);
          border: none;
          font-size: 0.875rem;
          text-transform: uppercase;
          letter-spacing: 0.5px;
          min-height: 44px;
        }

        .btn-primary {
          margin-top: 1rem;
          background: var(--gradient-primary);
          color: white;
          box-shadow: var(--shadow);
        }

        .btn-primary:hover {
          transform: translateY(-2px);
          background-color: #6366f1;
        }

        .btn-glass {
          background-color: rgba(255, 255, 255, 0.2);
          color: white;
          border: 1px solid rgba(255, 255, 255, 0.3);
          padding: 0.5rem 1rem;
          border-radius: var(--radius-full);
          font-size: 0.875rem;
          transition: var(--transition-all);
        }

        .btn-glass:hover {
          background-color: rgba(255, 255, 255, 0.3);
          transform: translateY(-2px);
        }

        .btn-block {
          width: 100%;
        }

        /* Mobile menu */
        .menu-toggle {
          display: none;
          flex-direction: column;
          justify-content: space-between;
          width: 24px;
          height: 18px;
          background: transparent;
          border: none;
          cursor: pointer;
          padding: 0;
        }

        .menu-toggle span {
          display: block;
          width: 100%;
          height: 2px;
          background-color: var(--foreground);
          transition: var(--transition-all);
        }

        .menu-toggle.active span:nth-child(1) {
          transform: translateY(8px) rotate(45deg);
        }

        .menu-toggle.active span:nth-child(2) {
          opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
          transform: translateY(-8px) rotate(-45deg);
        }

        @media (max-width: 1023px) {
          .nav {
            display: none;
          }
          
          .menu-toggle {
            display: flex;
          }
        }

          .mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: 0; /* Changed from left: 0 to right: 0 */
    width: 75%;
    height: calc(100vh - var(--header-height));
    background-color: var(--background);
    z-index: var(--z-40);
    padding: 2rem;
    transform: translateX(100%); /* Changed from translateX(-100%) to translateX(100%) */
    transition: var(--transition-transform);
    overflow-y: auto;

  }

  .mobile-menu.active {
    transform: translateX(0);
  }
        .mobile-nav-list {
          list-style: none;
          display: flex;
          flex-direction: column;
          gap: 1.5rem;
        }
        .mobile-nav{
          height: 70%;
        }

        .mobile-nav-link {
          font-size: 1.25rem;
          font-weight: 600;
          color: var(--foreground);
          display: block;
          padding: 0.5rem 0;
          border-bottom: 1px solid var(--border);
          min-height: 44px;
          display: flex;
          align-items: center;
        }

        .mobile-menu-footer {
          margin-top: 5rem;
        }

        .social-links {
          display: flex;
          gap: 1rem;
          margin-bottom: 1.5rem;
        }

        .social-link {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 40px;
          height: 40px;
          border-radius: 50%;
          background-color: var(--secondary);
          color: var(--primary);
          transition: var(--transition-all);
          min-height: 44px;
        }

        .social-link:hover {
          background-color: var(--primary);
          color: white;
        }

        /* Article header */
        .article-header {
          position: relative;
          height: 60vh;
          min-height: 400px;
          margin-top: var(--header-height);
          overflow: hidden;
          background-color: var(--primary-dark);
        }

        .article-header-image {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          opacity: 0.7;
          z-index: var(--z-0);
        }

        .article-header-overlay {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
          z-index: var(--z-10);
        }

        .article-header-content {
          position: relative;
          z-index: var(--z-20);
          height: 100%;
          display: flex;
          flex-direction: column;
          justify-content: flex-end;
          padding: 3rem 1.5rem;
          color: white;
        }

        .article-category {
          width: max-content;
          display: inline-block;
          padding: 0.5rem 1rem;
          background-color: var(--accent);
          color: white;
          border-radius: var(--radius-full);
          font-size: 0.875rem;
          font-weight: 600;
          margin-bottom: 1.5rem;
          text-transform: uppercase;
          letter-spacing: 1px;
        }

        .article-title {
          font-size: 2.5rem;
          font-weight: 800;
          margin-bottom: 1.5rem;
          text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
          color: white;
        }

        .article-meta {
          display: flex;
          flex-wrap: wrap;
          gap: 1.5rem;
          margin-bottom: 1rem;
          font-size: 0.875rem;
          color: rgba(255, 255, 255, 0.8);
        }

        .article-meta-item {
          display: flex;
          align-items: center;
          gap: 0.5rem;
        }

        .hero-actions {
          display: flex;
          gap: 1rem;
          margin-top: 1.5rem;
        }

        @media (min-width: 768px) {
          .article-title {
            font-size: 3.5rem;
          }
        }

        /* Article content */
        .article-main {
          padding: 3rem 0;
        }

        .article-content {
          font-size: 1.125rem;
          line-height: 1.8;
          max-width: 800px;
          margin: 0 auto;
        }

        .article-content p {
          margin-bottom: 1.5rem;
        }

        .article-content h2 {
          font-size: 2rem;
          font-weight: 700;
          margin: 3rem 0 1.5rem;
          position: relative;
          padding-bottom: 0.5rem;
        }

        .article-content h2::after {
          content: '';
          position: absolute;
          bottom: 0;
          left: 0;
          width: 60px;
          height: 4px;
          background: var(--gradient-primary);
          border-radius: var(--radius-full);
        }

        .article-content h3 {
          font-size: 1.5rem;
          font-weight: 600;
          margin: 2rem 0 1rem;
        }

        .article-content ul, .article-content ol {
          margin-bottom: 1.5rem;
          padding-left: 1.5rem;
        }

        .article-content li {
          margin-bottom: 0.75rem;
        }

        .article-content blockquote {
          margin: 2rem 0;
          padding: 1.5rem 2rem;
          border-left: 4px solid var(--primary);
          background-color: var(--secondary);
          border-radius: 0 var(--radius) var(--radius) 0;
          font-style: italic;
        }

        .article-content blockquote p:last-child {
          margin-bottom: 0;
        }

        .article-image-wrapper {
          margin: 2.5rem 0;
          border-radius: var(--radius-lg);
          overflow: hidden;
          position: relative;
          box-shadow: var(--shadow-lg);
        }

        .article-image-wrapper img {
          width: 100%;
          border-radius: var(--radius-lg);
          transition: var(--transition-transform);
        }

        .article-image-caption {
          position: absolute;
          bottom: 0;
          left: 0;
          width: 100%;
          padding: 1rem;
          background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
          color: white;
          font-size: 0.875rem;
          border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        }

        /* Sidebar */
        .article-sidebar > div {
          margin-bottom: 2rem;
        }

        .toc, .related-articles-sidebar, .resources-sidebar, .join-sidebar {
          background-color: var(--card);
          border-radius: var(--radius-lg);
          padding: 1.5rem;
          border: 1px solid var(--border);
          box-shadow: var(--card-shadow);
          transition: var(--transition-all);
        }

        .toc:hover, .related-articles-sidebar:hover, .resources-sidebar:hover, .join-sidebar:hover {
          box-shadow: var(--card-hover-shadow);
          transform: translateY(-5px);
        }

        .toc-title {
          font-size: 1.25rem;
          font-weight: 600;
          margin-bottom: 1rem;
          padding-bottom: 0.5rem;
          border-bottom: 1px solid var(--border);
        }

        .sidebar-article {
          display: block;
          padding: 0.75rem 0;
          border-bottom: 1px solid var(--border);
          transition: var(--transition-all);
          min-height: 44px;
          display: flex;
          flex-direction: column;
          justify-content: center;
        }

        .sidebar-article:hover {
          transform: translateX(5px);
        }

        .sidebar-article-title {
          font-weight: 600;
          margin-bottom: 0.25rem;
          color: var(--foreground);
        }

        .sidebar-article-date {
          font-size: 0.75rem;
          color: var(--muted-foreground);
        }

        .resources-list {
          list-style: none;
        }

        .resource-link {
          display: flex;
          align-items: center;
          gap: 0.5rem;
          padding: 0.75rem 0;
          border-bottom: 1px solid var(--border);
          color: var(--foreground);
          transition: var(--transition-all);
          min-height: 44px;
        }

        .resource-link:hover {
          transform: translateX(5px);
          color: var(--primary);
        }

        .join-sidebar p {
          margin-bottom: 1rem;
        }


        @media (min-width: 768px) {
        .articles-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 2rem;
        }
      }

      @media (min-width: 1024px) {
        .articles-grid {
          grid-template-columns: repeat(3, 1fr);
        }
      }




        /* Mobile Bottom Section - Resources & Articles */
        .mobile-bottom-section {
          display: block;
          background-color: var(--secondary);
          padding: 2rem 0;
          margin-top: 2rem;
        }

        @media (min-width: 1024px) {
          .mobile-bottom-section {
            display: none;
          }
        }

        @media (min-width: 768px) {
        .blog-post-card-title {
          font-size: 1.25rem;
        }
      }

      @media (min-width: 768px) {
        .article-card-excerpt {
          font-size: 0.875rem;
        }
      }




      @media (max-width: 480px) {
        html {
          font-size: 14px;
        }
        
        .container {
          padding: 0 0.75rem;
        }
        
        .article-header {
          height: 100%;
          /*min-height: 250px;*/
        }
        
        .article-header-content {
          padding: 1.5rem 0.75rem;
        }
        
        .hero-actions {
          flex-direction: column;
        }
        
        .btn-glass {
          margin-top: 0;
        }
      }

      /* Fix for iOS Safari 100vh issue */
      @supports (-webkit-touch-callout: none) {
        .mobile-menu {
          height: -webkit-fill-available;
        }
        
        .article-header {
          height: -webkit-fill-available;
        }
      }

      /* Ensure proper touch targets */
      @media (max-width: 767px) {
        .nav-link, .btn, .social-link, .resource-link, .sidebar-article {
          min-height: 44px;
          display: flex;
          align-items: center;
        }
      }













        .mobile-section-title {
          font-size: 1.5rem;
          font-weight: 700;
          margin-bottom: 1.5rem;
          color: var(--foreground);
        }

        .mobile-resources-grid {
          display: grid;
          grid-template-columns: 1fr;
          gap: 1rem;
          margin-bottom: 3rem;
        }

        @media (min-width: 640px) {
          .mobile-resources-grid {
            grid-template-columns: repeat(2, 1fr);
          }
        }

        .mobile-resource-card {
          display: flex;
          align-items: center;
          gap: 1rem;
          padding: 1rem;
          background-color: var(--card);
          border-radius: var(--radius-lg);
          border: 1px solid var(--border);
          transition: var(--transition-all);
          min-height: 44px;
        }

        .mobile-resource-card:hover {
          box-shadow: var(--card-hover-shadow);
          transform: translateY(-2px);
        }

        .mobile-resource-icon {
          color: var(--primary);
          flex-shrink: 0;
        }

        .mobile-resource-title {
          font-weight: 600;
          color: var(--foreground);
        }

        .mobile-articles-list {
          display: flex;
          flex-direction: column;
          gap: 1rem;
        }

        .mobile-article-card {
          background-color: var(--card);
          padding: 1.5rem;
          border-radius: var(--radius-lg);
          border: 1px solid var(--border);
          transition: var(--transition-all);
        }

        .mobile-article-card:hover {
          box-shadow: var(--card-hover-shadow);
          transform: translateY(-2px);
        }

        .mobile-article-title {
          font-size: 1.125rem;
          font-weight: 600;
          margin-bottom: 0.5rem;
          color: var(--foreground);
        }

        .mobile-article-excerpt {
          font-size: 0.875rem;
          color: var(--muted-foreground);
          margin-bottom: 1rem;
          line-height: 1.5;
        }

        .mobile-article-footer {
          display: flex;
          justify-content: space-between;
          align-items: center;
        }

        .mobile-article-date {
          font-size: 0.75rem;
          color: var(--muted-foreground);
        }

        .mobile-article-arrow {
          color: var(--primary);
        }

        /* Author section */
        .author-section {
          justify-items: center;
          margin: 4rem 0;
          max-width: 800px;
          margin-left: auto;
          margin-right: auto;
        }

        .author-card {
          display: flex;
          flex-direction: column;
          gap: 1.5rem;
          background-color: var(--card);
          border-radius: var(--radius-lg);
          box-shadow: var(--card-shadow);
          padding: 2rem;
        }

        @media (min-width: 768px) {
          .author-card {
            flex-direction: row;
          }
        }

        .author-avatar-wrapper {
          flex-shrink: 0;
          width: 100px;
          height: 100px;
          border-radius: var(--radius-full);
          overflow: hidden;
          border: 3px solid var(--primary);
          box-shadow: var(--shadow);
        }

        .author-avatar {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }

        .author-info {
          flex-grow: 1;
        }

        .author-name {
          font-size: 1.25rem;
          font-weight: 600;
          margin-bottom: 0.5rem;
        }

        .author-role {
          font-size: 0.875rem;
          color: var(--muted-foreground);
          margin-bottom: 1rem;
        }

        .author-bio {
          font-size: 0.875rem;
          margin-bottom: 1rem;
        }

        .author-social {
          display: flex;
          gap: 1rem;
        }

        /* Share section */
        .share-section {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 1rem;
          margin: 3rem 0;
          padding: 2rem;
          background-color: var(--secondary);
          border-radius: var(--radius-lg);
          max-width: 800px;
          margin-left: auto;
          margin-right: auto;
        }

        .share-title {
          font-size: 1.25rem;
          font-weight: 600;
        }

        .share-buttons {
          display: flex;
          gap: 1rem;
          flex-wrap: wrap;
          justify-content: center;
        }

        .share-button {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 40px;
          height: 40px;
          border-radius: var(--radius-full);
          background-color: var(--primary);
          color: white;
          transition: var(--transition-all);
          min-height: 44px;
        }

        .share-button:hover {
          transform: translateY(-3px);
          box-shadow: var(--shadow);
        }

        .share-button.twitter {
          background-color: #1DA1F2;
        }

        .share-button.facebook {
          background-color: #4267B2;
        }

        .share-button.linkedin {
          background-color: #0077B5;
        }

        .share-button.email {
          background-color: #EA4335;
        }

        /* Related articles */
        .related-articles {
          padding: 4rem 0;
          background-color: var(--secondary);
        }

        .related-title {
          font-size: 2rem;
          font-weight: 700;
          margin-bottom: 2rem;
          text-align: center;
        }

        .articles-grid {
          display: grid;
          grid-template-columns: repeat(1, 1fr);
          gap: 2rem;
        }

        @media (min-width: 768px) {
          .articles-grid {
            grid-template-columns: repeat(2, 1fr);
          }
        }

        @media (min-width: 1024px) {
          .articles-grid {
            grid-template-columns: repeat(3, 1fr);
          }
        }

        .article-card {
          background-color: var(--card);
          border-radius: var(--radius-lg);
          overflow: hidden;
          box-shadow: var(--card-shadow);
          transition: var(--transition-all);
          height: 100%;
          display: flex;
          flex-direction: column;
          border: 1px solid var(--border);
        }

        .article-card:hover {
          transform: translateY(-10px);
          box-shadow: var(--card-hover-shadow);
        }

        .card-image-wrapper {
          position: relative;
          height: 200px;
          overflow: hidden;
        }

        .card-image {
          width: 100%;
          height: 100%;
          object-fit: cover;
          transition: var(--transition-transform);
        }

        .article-card:hover .card-image {
          transform: scale(1.1);
        }

        .card-category {
          position: absolute;
          top: 1rem;
          left: 1rem;
          padding: 0.25rem 0.75rem;
          background-color: var(--primary);
          color: white;
          border-radius: var(--radius-full);
          font-size: 0.75rem;
          font-weight: 500;
          text-transform: uppercase;
          letter-spacing: 1px;
        }

        .card-content {
          padding: 1.5rem;
          flex-grow: 1;
          display: flex;
          flex-direction: column;
        }

        .card-title {
          font-size: 1.25rem;
          font-weight: 600;
          margin-bottom: 0.75rem;
          line-height: 1.4;
        }

        .card-excerpt {
          font-size: 0.875rem;
          color: var(--muted-foreground);
          margin-bottom: 1.5rem;
          flex-grow: 1;
        }

        .card-footer {
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding-top: 1rem;
          border-top: 1px solid var(--border);
          font-size: 0.75rem;
          color: var(--muted-foreground);
        }

        .article-card-read-more {
          display: flex;
          align-items: center;
          gap: 0.5rem;
          font-weight: 500;
          color: var(--primary);
          transition: var(--transition-all);
        }

        .article-card-read-more:hover {
          gap: 0.75rem;
        }

        /* Reading progress */
        .reading-progress-container {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 4px;
          background-color: transparent;
          z-index: var(--z-50);
        }

        .reading-progress {
          height: 100%;
          background: var(--gradient-primary);
          width: 0%;
          transition: width 0.1s ease;
        }

        /* Scroll to top button */
        .scroll-top {
          position: fixed;
          bottom: 2rem;
          right: 2rem;
          width: 50px;
          height: 50px;
          border-radius: var(--radius-full);
          background: var(--gradient-primary);
          color: white;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          opacity: 0;
          visibility: hidden;
          transition: var(--transition-all);
          box-shadow: var(--shadow-lg);
          z-index: var(--z-40);
          border: none;
        }

        .scroll-top.visible {
          opacity: 1;
          visibility: visible;
        }

        .scroll-top:hover {
          transform: translateY(-5px);
        }

        /* Footer */
        /* Footer */
        .footer {
            background: #1e293b;
            color:  white;
            padding: 80px 0 30px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 40px;
            margin-bottom: 60px;
        }

        .footer-logo {
            font-size: 24px;
            font-weight: 700;
            color: white;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: 'Playfair Display', serif;
        }

        .footer-description {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 20px;
        }

        .footer-social {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .footer-social-link {
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            transition:  all 0.3s ease;
        }

        .footer-social-link:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-3px);
        }

        .footer-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: #4361ee;
            border-radius: 2px;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }

        .footer-contact li {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

        .footer-contact-icon {
            color: #4361ee;
            font-size: 18px;
            margin-top: 3px;
        }

        .footer-contact-text {
            color: rgba(255, 255, 255, 0.7);
        }

        .footer-form {
            margin-top: 20px;
        }

        .footer-form-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .footer-form-input {
            width: 100%;
            padding: 12px 15px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            color: white;
            margin-bottom: 10px;
            font-family: 'Poppins', sans-serif;
            outline: none;
            transition: all 0.3s ease;
        }
        .footer-form-input:focus {
            border-color: #4361ee;
        }

        .footer-form-btn {
            width: 100%;
            padding: 12px 15px;
            background: #4361ee;
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .footer-form-btn:hover {
            background: #3a56d4;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            opacity: 0.7;
        }

        .footer-legal {
            display: flex;
            gap: 1.5rem;
        }

        /* Mobile responsiveness */
        @media (max-width: 768px) {
          .footer-grid {
            grid-template-columns: 1fr;
            gap: 20px;
          }

          .footer-logo {
            font-size: 20px;
          }

          .footer-description {
            font-size: 14px;
          }

          .footer-title {
            font-size: 16px;
          }

          .footer-links li {
            margin-bottom: 8px;
          }

          .footer-social {
            justify-content: center;
          }

          .footer-social-link {
            width: 30px;
            height: 30px;
            font-size: 14px;
          }

          .footer-form-input,
          .footer-form-btn {
            padding: 10px;
          }

          .footer-form-title {
            font-size: 14px;
          }

          .footer-bottom {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
          }

          .footer-legal {
            justify-content: center;
          }
        }

        @media (max-width: 480px) {
          html {
            font-size: 14px;
          }

          .container {
            padding: 0 1rem;
          }


          .article-title {
            font-size: 2rem;
          }

          .article-meta {
            gap: 0.5rem;
          }

          .hero-actions {
            flex-direction: column;
            width: 100%;
          }

          .footer-logo {
            font-size: 18px;
          }

          .footer-social-link {
            width: 28px;
            height: 28px;
            font-size: 12px;
          }

          .footer-form-input,
          .footer-form-btn {
            padding: 8px;
          }

          .footer-bottom {
            font-size: 0.8rem;
          }
        }

        @media (max-width: 360px) {
          .mobile-menu {
            padding: 1.5rem;
          }

          .mobile-nav-link {
            font-size: 1.1rem;
          }

          .header-actions {
            gap: 0.5rem;
          }
        }

        /* Fix for iOS Safari 100vh issue */
        @supports (-webkit-touch-callout: none) {
          .mobile-menu {
            height: -webkit-fill-available;
          }

          .article-header {
            height: 60vh;
            height: -webkit-fill-available;
          }
        }
      
  